<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container">
    <h3 align="right"> <a href="login.html">登陆/注册</a></h3>
    <p>创建响应式表格 (将在小于768px的小型设备下水平滚动)。另外：添加交替单元格的背景色：</p>
    <div class="table-responsive">
        <table class="table table-striped table-bordered">
            <thead>
            <tr>
                <th>#</th>
                <th>Name</th>
                <th>Street</th>
            </tr>
            </thead>

            <tbody>
            <#if questions?exists>
                <#list questions as question>
                    <tr>
                        <td>${question.id}</td>
                        <td>${question.qTitle}</td>
                        <td>${question.qCreateTime?date} ${question.qCreateTime?time}</td>
                    </tr>
                </#list>
            </#if>
            </tbody>
        </table>
    </div>
</div>

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="js/jquery.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>